﻿using System;
using System.Collections.Generic;

namespace Realtors.Entity
{
    public class House : BaseEntity
    {
        public bool Active { get; set; }
        public Address HouseAddress { get; set; }
        public string Title { get; set; }
        public bool ForSale { get; set; }
        public bool ForLease { get; set; }
        public int NoOfRooms { get; set; }
        public int NoOfBathrooms { get; set; }
        public double SquareFeet { get; set; }
        public decimal SellingPrice { get; set; }
        public decimal LeasingPrice { get; set; }
        public PropertyType HouseType { get; set; }
        public bool Featured { get; set; }
        public string Description { get; set; }
        public List<string> PropertyPhotos { get; set; }
        public DateTime DateAdded { get; set; }
        public DateTime DateSold { get; set; }
        public DateTime DateLeased { get; set; }

        public DateTime DateDeleted { get; set; }

        public bool Deleted { get; set; }

        public int TotalVisits { get; set; }

        public House()
        {
            PropertyPhotos = new List<string>();
            HouseAddress = new Address();
        }
    }
}